﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Empires.CRL.DataContract;

namespace Empires.RAL.Access
{
    public interface ICompanyOnlineAccess
    {
        List<DefaultDataPack> GetOnlineConsultation(string copname, int page, int size);
        List<DefaultDataPack> GetOnlineConsultationForIndex(string copname, int size);
        int GetOnlineConsulattionItemCount(string copname);
        int PostOnlineConsultation(string copname, string Author, string Content);
        int PostOnlineReply(string copname, int mid, string author, string content, string phone);

        int DeleteOnlineItem(string copname, int mid);

        List<DefaultDataPack> GetOnlineConsultationItem(string copname, int mid);

        bool EditOnlineConsultaion(string copname, OnlineDataPack onlineDataPack);
    }
}
